﻿using Coldairarrow.Entity.Goods;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 商品列表
    /// </summary>
    public class GoodsListDTO
    {
        public String ID { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public String GoodsName { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        public string Supplierid { get; set; }

        /// <summary>
        /// 商品类型id
        /// </summary>
        public String GoodsTypeId { get; set; }
        /// <summary>
        /// 是否特惠
        /// </summary>
        public Boolean? Preferential { get; set; }
        /// <summary>
        /// 划线价
        /// </summary>Marking price
        public decimal? MarkingPrice { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public String GoodsDescribe { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        public String GoodsPic { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public String Specifications { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public String Color { get; set; }
        /// <summary>
        /// 尺寸
        /// </summary>
        public decimal? Size { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public Decimal? GoodsPrices { get; set; }

        /// <summary>
        /// 是否特惠
        /// </summary>
        public Boolean? IsHot { get; set; }

        /// <summary>
        /// 商品详情
        /// </summary>
        public String Details { get; set; }
        /// <summary>
        /// 预警库存
        /// </summary>
        public Int32? warning { get; set; }
        /// <summary>
        /// 二级分类
        /// </summary>
        public string RootTypeTwo { get; set; }
        /// <summary>
        /// 一级分类
        /// </summary>
        public string RootType { get; set; }

        /// <summary>
        /// 规格参数id
        /// </summary>
        public string Parameterid { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int? Stock { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public String Editor { get; set; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? EditTime { get; set; }


        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        public Boolean? IsSale { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public IEnumerable<BTB_GoodsSpecificationsItem> SpecificationsItem { get; set; }
    }
}
